<!DOCTYPE html>
<html>
  <script>
    window.addEventListener('unload', () => {
      window.top.document.querySelector('iframe').remove();
    });
  </script>
</html>
